<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <title></title>
 <meta name="description" content="">
 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
 <link rel="shortcut icon" href="assets/images/icons/favicon.png">
 <link rel="stylesheet" type="text/css" th:href="@{/loanStatic/assets/css/minified/aui-production.min.css}">
 <link id="layout-theme" rel="stylesheet" type="text/css" th:href="@{/loanStatic/assets/themes/minified/agileui/color-schemes/layouts/default.min.css}">
 <link id="elements-theme" rel="stylesheet" type="text/css" th:href="@{/loanStatic/assets/themes/minified/agileui/color-schemes/elements/default.min.css}">
 <link rel="stylesheet" type="text/css" th:href="@{/loanStatic/assets/themes/minified/agileui/responsive.min.css}">
</head>
 <body class="fixed-sidebar fixed-header">
   <div id="page-wrapper" class="demo-example">
      <div id="page-main">
          <div id="page-main-wrapper">
              <div id="page-content">
					<div class="row mrg20B">
					    <div class="col-md-4">
					        <a href="javascript:;" class="tile-button btn clearfix bg-white mrg30B" title="">
					            <div class="tile-header pad10A font-size-13 popover-title">总注册人数&nbsp;&nbsp;
					            	【<span>已注册:<span style="color:red" id="hasRegeterNum">0</span>人&nbsp;/&nbsp;剩余:<span style="color:red" id="noRegeterNum">0</span>人</span>】</div>
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon icon-user"></i>
					                <div class="tile-content"><span id="totalUser"></span>&nbsp;<span>人</span></div>
					                <small>总注册人数【含未实名用户】</small>
					            </div>
					        </a>
					    </div>
					    <div class="col-md-4">
					        <a href="javascript:;" class="tile-button btn clearfix bg-white" title="">
					            <div class="tile-header pad10A font-size-13 popover-title">已实名用户</div>
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon icon-credit-card"></i>
					                <div class="tile-content"><span id="bankUser"></span>&nbsp;<span>人</span>
					                </div>
					                <small>且绑定银行卡用户</small>
					            </div>
					        </a>
					    </div>
					    <div class="col-md-4">
					        <a href="javascript:;" class="tile-button btn clearfix bg-white" title="">
					            <div class="tile-header pad10A font-size-13 popover-title">已申请借款用户</div>
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon icon-thumbs-o-up"></i>
					                <div class="tile-content"><span id="applyLoanUser"></span>&nbsp;<span>人</span>
					                </div>
					                <small>所有借款用户(含放款用户)</small>
					            </div>
					        </a>
					    </div>
					</div>
<!-- ======================================================================================== -->
					<div class="row mrg20B">
					    <div class="col-md-3">
					        <a href="javascript:;" class="tile-button btn bg-green" title="">
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon  icon-user"></i>
					                <div class="tile-content">
					                   <span id="totayRegUser"></span> <span>人</span>
					                </div>
					                <small>今日注册用户</small>
					            </div>
					            
					        </a>
					    </div>
					    <div class="col-md-3">
					        <a href="javascript:;" class="tile-button btn primary-bg" title="">
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon  icon-user"></i>
					                <div class="tile-content">
					                   <span id="todayBankUser"></span><span>&nbsp; 人</span>
					                </div>
					                <small>今日实名用户</small>
					            </div>
					        </a>
					    </div>
					    <div class="col-md-3">
					        <a href="javascript:;" class="tile-button btn bg-blue-alt" title="">
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon  icon-user"></i>
					                <div class="tile-content">
					                    <span id="todayApplyLoanUser"></span>&nbsp; <span>人</span>
					                </div>
					                <small>今日借款申请用户</small>
					            </div>
					        </a>
					    </div>
					    <div class="col-md-3">
					        <a href="javascript:;" class="tile-button btn bg-black" title="">
					            <div class="tile-content-wrapper">
					                <i class="glyph-icon  icon-user"></i>
					                <div class="tile-content">
					                    <span id="totayLoanUser"></span>&nbsp; <span>人</span>
					                </div>
					                <small>今日已放款用户
					                </small>
					            </div>
					        </a>
					    </div>	
					</div>
<!-- =========================================================================== -->
					<div class="row mrg20B">
					<div class="col-md-3">
	                <a href="javascript:;" class="tile-button tile-button-alt btn bg-red" title="">
	                    <div class="tile-header"><strong>申请总金额</strong>
	                        <div class="float-right"></div>
	                    </div>
	                    <div class="tile-content-wrapper">
	                        <i class="glyph-icon icon-yen"></i>
	                        <div class="tile-content">
	                            <span id="applyAmt"></span><span>&nbsp;元</span>
	                        </div>
	                    </div>
	                </a>
	            </div>
	            <div class="col-md-3">
	                <a href="javascript:;" class="tile-button tile-button-alt btn bg-green" title="">
	                    <div class="tile-header"><strong>放款总金额</strong>
	                        <div class="float-right"></div>
	                    </div>
	                    <div class="tile-content-wrapper">
	                        <i class="glyph-icon icon-yen"></i>
	                        <div class="tile-content">
	                            <span id="loanAmt"></span><span>&nbsp;元</span>
	                        </div>
	                    </div>
	                </a>
	            </div>
	            <div class="col-md-3">
	                <a href="javascript:;" class="tile-button tile-button-alt btn primary-bg" title="">
	                    <div class="tile-header"><strong>已还总金额</strong>
	                        <div class="float-right"></div>
	                    </div>
	                    <div class="tile-content-wrapper">
	                        <i class="glyph-icon icon-yen"></i>
	                        <div class="tile-content">
	                           <span id="alreadyRepayAmt"></span><span>&nbsp;元</span>
	                        </div>
	                    </div>
	                </a>
	            </div>
	            <div class="col-md-3">
	                <a href="javascript:;" class="tile-button tile-button-alt btn bg-blue-alt" title="">
	                    <div class="tile-header"><strong>待还总金额</strong>
	                        <div class="float-right">包含利息</div>
	                    </div>
	                    <div class="tile-content-wrapper">
	                        <i class="glyph-icon icon-yen"></i>
	                        <div class="tile-content">
	                            <span id="waitRepayAmt"></span><span>&nbsp;元</span>
	                        </div>
	                    </div>
	                </a>
	            </div>
				</div>
<!-- ====================================================================================== -->
			<div class="row mrg20B">
			 <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-black" title="">
                    <div class="tile-header"><strong>风盾JXLMG获取人数</strong>
                        <div class="float-right">JXLMG</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                            <span id="juxinliMig"></span><span>&nbsp;人</span>
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-red" title="">
                    <div class="tile-header"><strong>风盾JXLMF获取人数</strong>
                        <div class="float-right">风盾JXLMF</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                         <span id="juxinliMif"></span><span>&nbsp;人</span>
                        </div>
                    </div>
                </a>

            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-green" title="">
                    <div class="tile-header"><strong>平台产品</strong>
                    <div class="float-right">借贷产品</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-bullhorn"></i>
                        <div class="tile-content">
                       	<span id="productCount"></span><span>&nbsp;个</span>
                        </div>
                    </div>
                </a>

            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn primary-bg" title="">
                    <div class="tile-header">平台店铺
                        <div class="float-right">推广注册店铺</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-shopping-cart"></i>
                        <div class="tile-content">
                        	<span id="shopCount"></span><span>&nbsp;个</span>
                        </div>
                    </div>
                </a>
            </div>
			</div>
<!-- ==================================================================================== -->
			<div class="row mrg20B">
			 <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-blue-alt" title="">
                    <div class="tile-header"><strong>人脸认证痕迹</strong>
                        <div class="float-right" style="cursor: pointer" onclick="showFaceListInfo()"><span style="color:red">查看详情(可点击)</span></div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                            <span id="faceLogTotal"></span><span>&nbsp;条</span>
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-green" title="">
                    <div class="tile-header"><strong>操作永久痕迹</strong>
                        <div class="float-right" style="cursor: pointer" onclick="showOperateInfo()"><span style="color:red">查看详情(可点击)</span></div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                            <span id="operateLogTotal"></span><span>&nbsp;条</span>
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-black" title="">
                    <div class="tile-header"><strong>支付宝认证</strong>
                        <div class="float-right">alipay</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                            <span>92</span><span>&nbsp;人</span>
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="javascript:;" class="tile-button tile-button-alt btn bg-red" title="">
                    <div class="tile-header"><strong>信用卡认证</strong>
                        <div class="float-right">creditCard</div>
                    </div>
                    <div class="tile-content-wrapper">
                        <i class="glyph-icon icon-smile-o"></i>
                        <div class="tile-content">
                         <span>12</span><span>&nbsp;人</span>
                        </div>
                    </div>
                </a>

            </div>
            
			</div>
			
</div></div></div></div>
<!-- 全局js -->
<script src="/js/jquery.min.js?v=2.1.4" th:src="@{/js/jquery.min.js?v=2.1.4}"></script>
<script src="/js/bootstrap.min.js?v=3.3.6" th:src="@{/js/bootstrap.min.js?v=3.3.6}"></script>
<script type="text/javascript">
$(function() {
	$.ajax({
        type: "GET",
        url: "moblie/getAdminData",
        data: {},
        success: function (data) {
             var objData = eval("("+data+")");
             var resultData=objData.resultInfo;
             $("#totalUser").html(resultData.totalUser);
             $("#bankUser").html(resultData.bankUser);
             $("#applyLoanUser").html(resultData.applyLoanUser);
             $("#totayRegUser").html(resultData.totayRegUser);
             $("#todayBankUser").html(resultData.todayBankUser);
             $("#todayApplyLoanUser").html(resultData.todayApplyLoanUser);
             $("#totayLoanUser").html(resultData.totayLoanUser);
             $("#applyAmt").html(resultData.applyAmt);
             $("#loanAmt").html(resultData.loanAmt);
             $("#alreadyRepayAmt").html(resultData.alreadyRepayAmt);
             $("#waitRepayAmt").html(resultData.waitRepayAmt);
             $("#juxinliMig").html(resultData.juxinliMig);
             $("#juxinliMif").html(resultData.juxinliMif);
             $("#productCount").html(resultData.productCount);
             $("#shopCount").html(resultData.shopCount);
             $("#hasRegeterNum").html(resultData.hasRegeterNum);
             $("#noRegeterNum").html(resultData.noRegeterNum);
        },
    });
	
	var shopId=null;
	
	$.ajax({
        type: "GET",
        url: "moblie/getFaceLogInfo",
        data: {},
        success: function (data) {
             var objData = eval("("+data+")");
             var resultData=objData.resultInfo;
             $("#faceLogTotal").html(resultData.total);
             shopId=resultData.shopId;
        },
    });
	
	/* 操作日志 */
	$.ajax({
        type: "GET",
        url: "moblie/getAdminLogInfo",
        data: {},
        success: function (data) {
             var objData = eval("("+data+")");
             var resultData=objData.resultInfo;
             $("#operateLogTotal").html(resultData.total);
             shopId=resultData.shopId;
        },
    });
});


function showFaceListInfo(){
	window.location.href="/system/loanFaceLog";
}

function showOperateInfo(){
	window.location.href="/system/loanAdminLog";
}

</script>

</body></html>


